package com.david.entity;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author David
 */
@Data
public class AdminUser {

    @NotNull
    @NotEmpty(message = "账户名不能为空")
    private String username;

    @NotNull
    @NotEmpty(message = "密码不能为空")
    private String password;

    private String remember;

}
